#include<iostream>
#include<cstdio>

using namespace std;

int main()
{
  //C语言
  printf("hello printf->stdout\n");
  fprintf(stdout,"hello fprintf->stdout\n");
  fprintf(stderr,"hello fprintf->stderr\n");

  //C++
  cout<<"hello cout -> cout"<<endl;
  cerr<<"hello cerr -> cerr"<<endl;

  return 0;
}
